<template>
	<div class="flex flex-col justify-center items-center">
		<base-image v-if="emptyImg" :src="emptyImg" class="w-20 mb-1" />
		<base-text :textT="textT" :text="text" block class="text-t-3" />
	</div>
</template>

<script lang="ts" setup>
import BaseImage from '../image/index.vue'
import BaseText from '../text/index.vue'

defineProps({
	text: {
		type: String,
		default: ''
	},
	textT: {
		type: [String, Array],
		default: 'tip.empty'
	},
	emptyImg: {
		type: String,
		default: 'empty/default'
	}
})
</script>
